package com.wandian.news.data;


import com.google.gson.JsonObject;
import com.mylib.libcore.bean.BaseBean;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.POST;


public interface BaseAppApi {
    /**
     * 阅读奖励
     * @param
     * @param
     * @return
     */
    @POST("/uApp/gold/addGold")
    Observable<BaseBean<Object>> readMoney(@Body JsonObject jsonObject);

    /**
     * 更新战力
     * @param
     * @param
     * @return
     */
    @POST("/uApp/user/upFightNum")
    Observable<BaseBean<Object>> upFightNum(@Body JsonObject jsonObject);

    /**
     * 获取闯关信息
     * @param
     * @param
     * @return
     */
    @POST("/uApp/user/getEmigratedNum")
    Observable<BaseBean<Object>> getEmigratedNum(@Body JsonObject jsonObject);

    /**
     * 更新成功闯关
     * @param
     * @param
     * @return
     */
    @POST("/uApp/user/upEmigratedNum")
    Observable<BaseBean<Object>> upEmigratedNum(@Body JsonObject jsonObject);

}
